package com.cy.dbsys.controller;

import com.cy.commom.pojo.JsonResult;
import com.cy.dbsys.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/log")
@RestController
public class SysLogController {
    @Autowired
    private SysLogService sysLogService;
    /**1、查询日志信息*/
    @RequestMapping("/doFindPageObjects")
    public JsonResult doFindPageObjects(String username,Integer pageCurrent,Integer pageSize){
        return new JsonResult(sysLogService.findPageObjects(username,pageCurrent,pageSize));
    }
}
